package com.heima.article.listener;

import org.apache.kafka.streams.kstream.KStream;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;

/**
 * @BelongsProject: heima-leadnews
 * @BelongsPackage: com.heima.article.listener
 * @Author: wangjian
 * @CreateTime: 2022-07-08  17:43
 * @Description: TODO
 * @Version: 1.0
 */
public interface IHotArticleProcessor {
    @Input("hot_article_score_topic")
    KStream<String, String> input();
    @Output("hot_article_result_topic")
    KStream<String, String> output();
}
